package com.szis.auth.oauth2.service;

import com.szis.auth.oauth2.entity.Client;
import com.baomidou.mybatisplus.extension.service.IService;
import com.szis.auth.oauth2.request.ClientReq;

/**
 * <p>
 * oauth2客户端信息表 服务类
 * </p>
 *
 * @author yanxuelin
 * @since 2025-07-17
 */
public interface IClientService extends IService<Client> {

    /**
     * 注册客户端
     * @param req 请求体
     * @return 注册生成的客户端信息
     */
    Client register(ClientReq req);


}
